import request from '@/utils/request'

export function getApprovalCount(query) {
  return request({
    url: '/approval/analysis/overview/getApprovalCount',
    method: 'get',
    params: query
  })
}
export function getMonthApprovalCountByYear(query) {
  return request({
    url: '/approval/analysis/overview/getMonthApprovalCountByYear',
    method: 'get',
    params: query
  })
}
export function getDeptApprovalCount(query) {
  return request({
    url: '/approval/analysis/overview/getDeptApprovalCount',
    method: 'get',
    params: query
  })
}
export function getTypeApprovalCount(query) {
  return request({
    url: '/approval/analysis/overview/getTypeApprovalCount',
    method: 'get',
    params: query
  })
}

